schema

package
v0.0.0-...-dc6e3ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package schema contains constants of the Schema.org vocabulary.

Index

Constants

View Source
const (
	NS     = `http://schema.org/`
	Prefix = `schema:`
)
View Source
const (

	// The basic data types such as Integers, Strings, etc.
	DataType = Prefix + `DataType`
	// Boolean: True or False.
	Boolean = Prefix + `Boolean`
	// The boolean value false.
	False = Prefix + `False`
	// The boolean value true.
	True = Prefix + `True`
	// Data type: Text.
	Text = Prefix + `Text`
	// Data type: URL.
	URL = Prefix + `URL`
	// Data type: Number.
	Number = Prefix + `Number`
	// Data type: Floating number.
	Float = Prefix + `Float`
	// Data type: Integer.
	Integer = Prefix + `Integer`
	// A date value in ISO 8601 date format.
	Date = Prefix + `Date`
	// A point in time recurring on multiple days in the form hh:mm:ss[Z|(+|-)hh:mm].
	Time = Prefix + `Time`
	// A combination of date and time of day in the form [-]CCYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm] (see Chapter 5.4 of ISO 8601).
	DateTime = Prefix + `DateTime`

	// A class, also often called a 'Type'; equivalent to rdfs:Class.
	Class = Prefix + "Class"
	// A property, used to indicate attributes and relationships of some Thing; equivalent to rdf:Property.
	Property = Prefix + "Property"
)
View Source
const (
	// The name of the item.
	Name    = Prefix + `name`
	UrlProp = Prefix + `url`
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL