contexts

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApiExtensionUri = "http://a.ml/vocabularies/api-extension#"
View Source
var DefaultAMFContext = types.ObjectMap{
	"data":        "http://a.ml/vocabularies/data#",
	"shacl":       "http://www.w3.org/ns/shacl#",
	"shapes":      "http://a.ml/vocabularies/shapes#",
	"raml-shapes": "http://a.ml/vocabularies/shapes#",
	"doc":         "http://a.ml/vocabularies/document#",
	"meta":        "http://a.ml/vocabularies/meta#",
	"apiContract": "http://a.ml/vocabularies/apiContract#",
	"core":        "http://a.ml/vocabularies/core#",
	"xsd":         "http://www.w3.org/2001/XMLSchema#",
	"rdfs":        "http://www.w3.org/2000/01/rdf-schema",
	"rdf":         "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
	"security":    "http://a.ml/vocabularies/security#",
	"sourcemaps":  "http://a.ml/vocabularies/document-source-maps#",
	"apiExt":      ApiExtensionUri,
	"gcl":         "http://anypoint.com/vocabs/gcl#",
	"management":  "http://anypoint.com/vocabs/management#",
	"api":         "http://anypoint.com/vocabs/api#",
	"catalog":     "http://anypoint.com/vocabs/digital-repository#",
}

Functions

func ConformsContext

func ConformsContext(reportConfig config.ReportConfiguration) types.ObjectMap

func DeclarationsFrom added in v1.7.0

func DeclarationsFrom(schemaIri string) string

func DefaultValidationContext

func DefaultValidationContext(reportConfig config.ReportConfiguration) types.ObjectMap

Types

This section is empty.

Jump to

Keyboard shortcuts

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