Reference · Data types
Data types
Every datatype a property can carry, and how it renders in published schema JSON.
| Name | Render kind | Description |
|---|---|---|
| Algorithm | property | A process or set of rules to be followed in calculations or other problem-solving operations. |
| Any | property | A special datatype used for values that are dynamic and/or varies. |
| Array | array | A collection of Things. |
| Binary | property | Binary numeric data type. |
| Boolean | property | A binary variable, having two possible values called "true" and "false". |
| Char | property | The grapheme for a single Latin letter. |
| Class | property | A class or type. |
| Context | context | The URL to find the JSON-LD for the element. |
| DataType | property | The basic data types such as Integeters, Strings, etc. |
| Date | property | A date value in ISO 8601 date format. See https://www.w3.org/TR/xmlschema11-2/#date. |
| Datetime | property | A combination of date and time of day in the form [-]CCYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm] See https://www.w3.org/TR/xmlschema11-2/#dateTime. |
| Decimal | property | A real number expressed using decimal numerals. |
| DomainName | property | An internationalized Internet domain name string formatted according to RFC 1035. See https://datatracker.ietf.org/doc/html/rfc1035 |
| property | An email address string formatted according to RFC 6531. See https://tools.ietf.org/htmlrfc6531. | |
| EndPoint | endpoint | The URL to find the API endpoint. |
| Hex | property | The hexadecimal numeric type. |
| Hostname | property | An internationalized Internet host name string formatted according to section 2.3.2.3 of RFC 5890. See https://tools.ietf.org/html/rfc5890#section-2.3.2.3. |
| ID | id | The queryable URL to find the designated record. |
| Integer | property | A whole number; a number that is not a fraction. |
| IPAddress | property | A 32-bit numeric address written as four numbers separated by periods. Each number can be zero to 255. |
| LocalDatetime | property | A string containing a date and time formatted according to date-time as defined RFC3339. See https://tools.ietf.org/html/rfc3339#section-5.6. |
| NegativeInteger | property | An integer value that is less than 0. |
| Numeric | property | Digits expressed as a number or numbers. |
| Object | object | A collection of fields. |
| Paginated List | paginated | A listing of items in paginated form. |
| PositiveInteger | property | An integer value that is equal to or greater than 1. |
| String | property | Any sequence of Unicode characters, inserted between double quotes. |
| Stub | stub | An Object reference to a Thing. |
| TelephoneNumber | property | Holds international telephone numbers based on the RFC 3966 standard. See https://tools.ieft/org/html/rfc3966. |
| Text | property | Freeform text. |
| Thing | type | A top-level addressable type definition. The property's name (e.g. Person, Regulation) becomes the @type in JSON-LD output. This is the GRC Schema datatype label for "this property defines its own type" — it does not literally emit @type:Thing in the output. |
| Unicode | property | The unicode code numeric data type. |
| URI | property | Uniform Resource Identifier (URI) is a unique sequence of characters that identifies a logical or physical resource used by web technologies. |
| URL | property | Holds URIs, URNs, and URLs as defined in RFC1738. See https://www.w3.org/TR/WD-html40-970708/htmlweb.html. |
| Year | property | The four digit date value for a given year. See https://www.w3.org/TR/xmlschema11-2/#date. |