Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Localtabgroup
Localtab
titleAdding an Object as a Child element

Right-click on the parent element and click Add new Object, to add an Object as shown below.

add an object as a child element

Add the following details to create an Object as a child element.

  • Name: name of the child element
  • Schema Type: type of the element (i.e. object)
  • ID: ID of the child element to uniquely identify it
  • isNullable: whether the element can be a nullable (i.e. not available in the payload (optional)
    Namespaces: prefix and URL of the namespace (optional)
  • Required: child elements required to be there in the payload (optional)
  • Schema Value: custom URI of the Schema

    Info

    If the object has element identifiers, then select the checkbox and add the value, type, and URL of the identifier.

  • Object holds a value: if the object holds a value or not

    Info

    If the object holds a value, then select the checkbox and select the data type.

details to add an object child element

You view the child Object element added to the root element as shown below.

 

Info

The element identifier is added as an attribute to the element.


child element added to Input box

Localtab
titleAdding an Array as a child element

Right-click on the parent element and click Add new Array, to add an Array as shown below.

adding an array as a child element 

You need to add the following details to create an Array as a child element.

  • Name: name of the child element
  • Schema Type: type of the element (i.e. array)
  • ID: ID of the child element to uniquely identify it
  • isNullable: whether the element can be a nullable (i.e. not available in the payload (optional)
    Namespaces: prefix and URL of the namespace (optional)
  • Required: child elements required to be there in the payload (optional)
  • Schema Value: custom URI of the Schema

    Info

    If the array has element identifiers, then select the checkbox and add the value, type, and URL of the identifier.

  • Object holds a value: if the object holds a value or not

    Info

    If the array holds a value, then select the checkbox and select the data type.

<ADD_SCREENSHOT>entering details to add the Array child elementImage Added

You view the child Array element added to the root element as shown below.

Info

The element identifier is added as an attribute to the element.

<ADD_SCREENSHOT>

 Image Added

Localtab
titleAdding a Field as a child element

Right-click on the parent element and click Add new Field, to add a Filed Field as shown below.

add Field child element

You need to add the following details to create an a Field as a child element.

  • Name: name of the child element
  • Schema Type: type of the element (i.e. Field)
  • ID: ID of the child element to uniquely identify it
  • isNullable: whether the element can be a nullable (i.e. not available in the payload (optional)
    Namespaces: prefix and URL of the namespace (optional)
  • Required: child elements required to be there in the payload (optional)
  • Schema Value: custom URI of the Schema

<ADD_SCREENSHOT>entering details to add field child elementImage Added

You view the child Field element added to the root element as shown below.

<ADD_SCREENSHOT>added field elementImage Added

Localtab
titleAdding an Attribute as a child element

Right-click on the parent element and click Add new Attribute, to add an attribute as shown below.

add Attribute child element

You need to add the following details to create an Attribute as a child element.

  • Name: name of the child element
  • Schema Type: type of the element (i.e. Attribute)
  • ID: ID of the child element to uniquely identify it
  • isNullable: whether the element can be a nullable (i.e. not available in the payload (optional)
    Namespaces: prefix and URL of the namespace (optional)
  • Required: child elements required to be there in the payload (optional)
  • Schema Value: custom URI of the Schema

<ADD_SCREENSHOT>entering details to add attribute child elementImage Added

You view the child Attribute element added to the root element as shown below.

<ADD_SCREENSHOT>attribute added to root elementImage Added

Setting a nullable element

You can set an element as a nullable element, so that it is not required to have that element in the payload. Right-click on the parent element and click Enable Nullable, to enable an element to make it nullable as shown below.

Image Removed

<ADD_CONTENT>

...

enable nullable elementImage Added

Right-click on the parent element and click Disable Nullable, to make it required in the payload as shown below.

disable the element being nullableImage Added

Editing an element 

Right-click on any element and click Edit Object, to edit it as shown below.

edit an elementImage Removed

You can and update the field values as required as required as shown below.

<ADD_SCREENSHOT>edit an elementImage Added

Deleting an element 

Right-click on any element and click Delete from Model, to delete it as shown below.deleting an elementImage Removed

Info

...

This deletes the element with its child nodes.

deleting an elementImage Added