22 Form Type Object
A Form type object represents the layout of the scene.
Form type is defined as
interface Form {
version: string // REQUIRED
layout: Embedding[] // REQUIRED
metadata?: FormMetadata // OPTIONAL
properties?: FormProperties // OPTIONAL
}
where
versionis REQUIRED, and its value MUST be of typestringequal to one of the standard’s version numbers (see Section 04-Version-Control).layoutis REQUIRED, and its value MUST be an array ofEmbedding, representing placed artifacts in the space. An empty layout MUST have the value[].metadatais OPTIONAL, and its value MUST be of typeFormMetadata. It is used to hold any additional descriptive data about the space. If not provided, an emptyFormMetadatais used by default.propertiesis OPTIONAL, and its value MUST be of typeFormProperties. It represents additional properties of the scene. If not provided, an emptyFormPropertiesis used by default.