validation_common_root

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by https://github.com/GoComply/metaschema; DO NOT EDIT.

Code generated by https://github.com/GoComply/metaschema; DO NOT EDIT. Multiplexers are indirect models needed for serialization/deserialization as json and xml files differ materially in their structure.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotation

type Annotation = validation_root.Annotation

type Description

type Description = validation_root.Description

type IncorporatesComponent

type IncorporatesComponent struct {

	// A reference to a component by its identifier
	ComponentUuid string `xml:"component-uuid,attr,omitempty" json:"component-uuid,omitempty"`

	// A description supporting the parent item.
	Description *Description `xml:"description,omitempty" json:"description,omitempty"`
}

TBD

type IncorporatesComponentMultiplexer

type IncorporatesComponentMultiplexer []IncorporatesComponent

func (*IncorporatesComponentMultiplexer) MarshalJSON

func (mplex *IncorporatesComponentMultiplexer) MarshalJSON() ([]byte, error)

func (*IncorporatesComponentMultiplexer) UnmarshalJSON

func (mplex *IncorporatesComponentMultiplexer) UnmarshalJSON(b []byte) error
type Link = validation_root.Link

type OnlyStatement

type OnlyStatement struct {

	// A reference to the specific implemented statement.
	StatementId string `xml:"statement-id,attr,omitempty" json:"statement-id,omitempty"`

	// A description supporting the parent item.
	Description *Description `xml:"description,omitempty" json:"description,omitempty"`
	// A value with a name, attributed to the containing control, part, or group.
	Properties []Prop `xml:"prop,omitempty" json:"properties,omitempty"`
	// A reference to a local or remote resource
	Links []Link `xml:"link,omitempty" json:"links,omitempty"`
	// Additional commentary on the parent item.
	Remarks *Remarks `xml:"remarks,omitempty" json:"remarks,omitempty"`
}

Describes which specific statements are addressed by a requirement, by pointing to a specific requirement statement within a control.

type OnlyStatementMultiplexer

type OnlyStatementMultiplexer []OnlyStatement

func (*OnlyStatementMultiplexer) MarshalJSON

func (mplex *OnlyStatementMultiplexer) MarshalJSON() ([]byte, error)

func (*OnlyStatementMultiplexer) UnmarshalJSON

func (mplex *OnlyStatementMultiplexer) UnmarshalJSON(b []byte) error

type PartyUuid

type PartyUuid = validation_root.PartyUuid

type Prop

type Prop = validation_root.Prop

type Remarks

type Remarks = validation_root.Remarks

type ResponsibleRole

type ResponsibleRole struct {

	// The role that is responsible for the business function.
	RoleId string `xml:"role-id,attr,omitempty" json:"role-id,omitempty"`

	// A value with a name, attributed to the containing control, part, or group.
	Properties []Prop `xml:"prop,omitempty" json:"properties,omitempty"`
	// A name/value pair with optional explanatory remarks.
	Annotations []Annotation `xml:"annotation,omitempty" json:"annotations,omitempty"`
	// A reference to a local or remote resource
	Links []Link `xml:"link,omitempty" json:"links,omitempty"`
	// References a  defined in .
	PartyUuids []PartyUuid `xml:"party-uuid,omitempty" json:"party-uuids,omitempty"`
	// Additional commentary on the parent item.
	Remarks *Remarks `xml:"remarks,omitempty" json:"remarks,omitempty"`
}

A reference to one or more roles with responsibility for performing a function relative to the control.

type ResponsibleRoleMultiplexer

type ResponsibleRoleMultiplexer []ResponsibleRole

func (*ResponsibleRoleMultiplexer) MarshalJSON

func (mplex *ResponsibleRoleMultiplexer) MarshalJSON() ([]byte, error)

func (*ResponsibleRoleMultiplexer) UnmarshalJSON

func (mplex *ResponsibleRoleMultiplexer) UnmarshalJSON(b []byte) error

type SetParameter

type SetParameter struct {

	// Points to a parameter within a control, to which the contained value will be assigned.
	ParamId string `xml:"param-id,attr,omitempty" json:"param-id,omitempty"`

	// The phrase or string that fills-in the parameter and completes the requirement statement.
	Value Value `xml:"value,omitempty" json:"value,omitempty"`
}

Identifies the parameter that will be filled in by the enclosed value element.

type SetParameterMultiplexer

type SetParameterMultiplexer []SetParameter

func (*SetParameterMultiplexer) MarshalJSON

func (mplex *SetParameterMultiplexer) MarshalJSON() ([]byte, error)

func (*SetParameterMultiplexer) UnmarshalJSON

func (mplex *SetParameterMultiplexer) UnmarshalJSON(b []byte) error

type VALIDATIONCommonRoot

type VALIDATIONCommonRoot struct {

	// A reference to a control identifier.
	ControlId string `xml:"control-id,attr,omitempty" json:"control-id,omitempty"`
	// A category describing the purpose of the component.
	ComponentType string `xml:"component-type,attr,omitempty" json:"component-type,omitempty"`
	// A reference to an OSCAL catalog or profile providing the referenced control or subcontrol definition.
	Source string `xml:"source,attr,omitempty" json:"source,omitempty"`

	// A description supporting the parent item.
	Description *Description `xml:"description,omitempty" json:"description,omitempty"`
	// TBD
	IncorporatesComponents IncorporatesComponentMultiplexer `xml:"incorporates-component,omitempty" json:"incorporates-components,omitempty"`
	// Describes which specific statements are addressed by a requirement, by pointing to a specific requirement statement within a control.
	OnlyStatements OnlyStatementMultiplexer `xml:"only-statement,omitempty" json:"only-statements,omitempty"`
	// A reference to one or more roles with responsibility for performing a function relative to the control.
	ResponsibleRoles ResponsibleRoleMultiplexer `xml:"responsible-role,omitempty" json:"responsible-roles,omitempty"`
	// Identifies the parameter that will be filled in by the enclosed value element.
	ParameterSettings SetParameterMultiplexer `xml:"set-parameter,omitempty" json:"parameter-settings,omitempty"`
	// Additional commentary on the parent item.
	Remarks *Remarks `xml:"remarks,omitempty" json:"remarks,omitempty"`
}

NOT TO BE USED IN A METASCHEMA

type Value

type Value string

Jump to

Keyboard shortcuts

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