diff --git a/docs/gcube-model-facet.rst b/docs/gcube-model-facet.rst index dc9218c..1d535f5 100644 --- a/docs/gcube-model-facet.rst +++ b/docs/gcube-model-facet.rst @@ -842,28 +842,30 @@ Changelog: TemplateFacet ------------- -This facet define a template to instantiate using the list of attributes specified +This facet define a template for a Facet to instantiate using the list of attributes specified. The type of the instatianted facet is specified in 'targetFacetType' attribute .. table:: **TemplateFacet** ``extends`` **Facet** - +----------------------------------------+----------------------------------------------------+--------------------------------------------------------+----------------------------------------------------------------+-----------------+ - | Properties | - +========================================+====================================================+========================================================+================================================================+=================+ - | **Name** | **Type** | **Attributes** | **Description** | - +----------------------------------------+----------------------------------------------------+--------------------------------------------------------+----------------------------------------------------------------+-----------------+ - | attributes | List<:ref:`AttributeProperty `> | ``Mandatory:true`` ``ReadOnly:false`` ``NotNull:true`` | The attributes of the template to be created when instantiated | - +----------------------------------------+----------------------------------------------------+--------------------------------------------------------+----------------------------------------------------------------+-----------------+ - | description | String | ``Mandatory:true`` ``ReadOnly:false`` ``NotNull:true`` | The description of the template | - +----------------------------------------+----------------------------------------------------+--------------------------------------------------------+----------------------------------------------------------------+-----------------+ - | name | String | ``Mandatory:true`` ``ReadOnly:false`` ``NotNull:true`` | The name of template | - +----------------------------------------+----------------------------------------------------+--------------------------------------------------------+----------------------------------------------------------------+-----------------+ - | **Known Usage** | - +----------------------------------------+----------------------------------------------------+--------------------------------------------------------+----------------------------------------------------------------+-----------------+ - | **Source** | **Relation** | **Multiplicity** | **Target** | **Description** | - +----------------------------------------+----------------------------------------------------+--------------------------------------------------------+----------------------------------------------------------------+-----------------+ - | No specific known usage for this type. | - +----------------------------------------+----------------------------------------------------+--------------------------------------------------------+----------------------------------------------------------------+-----------------+ + +------------------------------------------------------+----------------------------------------------------+--------------------------------------------------------+----------------------------------------------------------------+-----------------+ + | Properties | + +======================================================+====================================================+========================================================+================================================================+=================+ + | **Name** | **Type** | **Attributes** | **Description** | + +------------------------------------------------------+----------------------------------------------------+--------------------------------------------------------+----------------------------------------------------------------+-----------------+ + | attributes | List<:ref:`AttributeProperty `> | ``Mandatory:true`` ``ReadOnly:false`` ``NotNull:true`` | The attributes of the template to be created when instantiated | + +------------------------------------------------------+----------------------------------------------------+--------------------------------------------------------+----------------------------------------------------------------+-----------------+ + | description | String | ``Mandatory:true`` ``ReadOnly:false`` ``NotNull:true`` | The description of the template | + +------------------------------------------------------+----------------------------------------------------+--------------------------------------------------------+----------------------------------------------------------------+-----------------+ + | name | String | ``Mandatory:true`` ``ReadOnly:false`` ``NotNull:true`` | The name of the template | + +------------------------------------------------------+----------------------------------------------------+--------------------------------------------------------+----------------------------------------------------------------+-----------------+ + | targetFacetType | String | ``Mandatory:true`` ``ReadOnly:false`` ``NotNull:true`` | The type of Facet to instantiate with the attributes valued | + +------------------------------------------------------+----------------------------------------------------+--------------------------------------------------------+----------------------------------------------------------------+-----------------+ + | **Known Usage** | + +------------------------------------------------------+----------------------------------------------------+--------------------------------------------------------+----------------------------------------------------------------+-----------------+ + | **Source** | **Relation** | **Multiplicity** | **Target** | **Description** | + +------------------------------------------------------+----------------------------------------------------+--------------------------------------------------------+----------------------------------------------------------------+-----------------+ + | :ref:`ConfigurationTemplate ` | :ref:`ConsistsOf ` | 0..n | :ref:`TemplateFacet ` | | + +------------------------------------------------------+----------------------------------------------------+--------------------------------------------------------+----------------------------------------------------------------+-----------------+ The **TemplateFacet** current version is 1.0.0. diff --git a/docs/gcube-model-resource.rst b/docs/gcube-model-resource.rst index ffa1831..89226b6 100644 --- a/docs/gcube-model-resource.rst +++ b/docs/gcube-model-resource.rst @@ -144,6 +144,8 @@ Configuration Template represents a template for a configuration. It describes h +======================================================+========================================+==============+======================================================+========================================================================+ | **Facets** | +------------------------------------------------------+----------------------------------------+--------------+------------------------------------------------------+------------------------------------------------------------------------+ + | :ref:`ConfigurationTemplate ` | :ref:`ConsistsOf ` | 0..n | :ref:`TemplateFacet ` | | + +------------------------------------------------------+----------------------------------------+--------------+------------------------------------------------------+------------------------------------------------------------------------+ | :ref:`ConfigurationTemplate ` | :ref:`IsIdentifiedBy ` | 1..1 | :ref:`IdentifierFacet ` | | +------------------------------------------------------+----------------------------------------+--------------+------------------------------------------------------+------------------------------------------------------------------------+ | **Resource Relations** |