validate

package module
v0.0.0-...-09073cc Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateJSON

func ValidateJSON(jsonData string, schemaRoot SchemaFile) error

ValidateJSON validates JSON data against a JSON schema taken from the embedded files in form of a SchemaFile.

Types

type SchemaFile

type SchemaFile string
const ABSTRACTS_CORE_BLOCK_DEFINITION SchemaFile = "abstracts/core/block-definition.json"
const ABSTRACTS_CORE_CONCEPT SchemaFile = "abstracts/core/concept.json"
const CONCEPTS_CORE_BLOCK_TYPE SchemaFile = "concepts/core/block-type.json"
const CONCEPTS_CORE_BLOCK_TYPE_EXECUTABLE SchemaFile = "concepts/core/block-type-executable.json"
const CONCEPTS_CORE_BLOCK_TYPE_GROUP SchemaFile = "concepts/core/block-type-group.json"
const CONCEPTS_CORE_BLOCK_TYPE_OPERATOR SchemaFile = "concepts/core/block-type-operator.json"
const CONCEPTS_CORE_DEPLOYMENT SchemaFile = "concepts/core/deployment.json"
const CONCEPTS_CORE_DEPLOYMENT_TARGET SchemaFile = "concepts/core/deployment-target.json"
const CONCEPTS_CORE_ENVIRONMENT SchemaFile = "concepts/core/environment.json"
const CONCEPTS_CORE_LANGUAGE_TARGET SchemaFile = "concepts/core/language-target.json"
const CONCEPTS_CORE_PLAN SchemaFile = "concepts/core/plan.json"
const CONCEPTS_CORE_RESOURCE_TYPE_EXTENSION SchemaFile = "concepts/core/resource-type-extension.json"
const CONCEPTS_CORE_RESOURCE_TYPE_INTERNAL SchemaFile = "concepts/core/resource-type-internal.json"
const CONCEPTS_CORE_RESOURCE_TYPE_OPERATOR SchemaFile = "concepts/core/resource-type-operator.json"
const TYPES_CORE_ASSET_REFERENCE SchemaFile = "types/core/asset-reference.json"
const TYPES_CORE_ATTACHMENT SchemaFile = "types/core/attachment.json"
const TYPES_CORE_BLOCK_INSTANCES SchemaFile = "types/core/block-instances.json"
const TYPES_CORE_BLOCK_RESOURCE SchemaFile = "types/core/block-resource.json"
const TYPES_CORE_BLOCK_RESOURCE_LIST SchemaFile = "types/core/block-resource-list.json"
const TYPES_CORE_COLOR_VALUE SchemaFile = "types/core/color-value.json"
const TYPES_CORE_CONFIGURATION_SCHEMA SchemaFile = "types/core/configuration-schema.json"
const TYPES_CORE_CONNECTIONS SchemaFile = "types/core/connections.json"
const TYPES_CORE_DEPENDENCIES SchemaFile = "types/core/dependencies.json"
const TYPES_CORE_ENTITY SchemaFile = "types/core/entity.json"
const TYPES_CORE_ENTITY_LIST SchemaFile = "types/core/entity-list.json"
const TYPES_CORE_ICON_VALUE SchemaFile = "types/core/icon-value.json"
const TYPES_CORE_KIND SchemaFile = "types/core/kind.json"
const TYPES_CORE_LANGUAGE_TARGET_REFERENCE SchemaFile = "types/core/language-target-reference.json"
const TYPES_CORE_LOCAL_INSTANCE SchemaFile = "types/core/local-instance.json"
const TYPES_CORE_METADATA SchemaFile = "types/core/metadata.json"
const TYPES_CORE_PORT SchemaFile = "types/core/port.json"
const TYPES_CORE_REMOTE_SERVICE SchemaFile = "types/core/remote-service.json"
const TYPES_CORE_REST_METHOD SchemaFile = "types/core/rest-method.json"
const TYPES_CORE_SCHEMA SchemaFile = "types/core/schema.json"
const TYPES_CORE_SOURCE_CODE SchemaFile = "types/core/source-code.json"
const TYPES_CORE_TYPED_VALUE SchemaFile = "types/core/typed-value.json"
const TYPES_CORE_UI_SCHEMA SchemaFile = "types/core/ui-schema.json"
const TYPES_CORE_URL_VALUE SchemaFile = "types/core/url-value.json"
const TYPES_CORE_VERSIONING SchemaFile = "types/core/versioning.json"

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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