Commit 53ba3803 authored by daniel-gonzalez-sanchez's avatar daniel-gonzalez-sanchez
Browse files

Deleting the schema SystemGeneratedAttributes for grouping schemas of...

Deleting the schema SystemGeneratedAttributes for grouping schemas of system-generated temporal attributes (i.e., createdAt, modifiedAt, and deletedAt) and updating the references to them directly. The problem is that if the schemas of the system-generated temporal attributes are grouped under a schema SystemGeneratedAttributes their data appears with the SystemGeneratedAttributes wrapper when is referenced by another schema or operation.
parent 8985de45
Loading
Loading
Loading
Loading
+81 −34
Original line number Diff line number Diff line
@@ -3386,22 +3386,6 @@ components:
    #
    # Beginning of 4.8 Temporal Properties
    #
    SystemGeneratedAttributes:
      description: |
        5.2.2 Common members. 
        
        For grouping the subschemas of system-generated temporal attributes: createdAt, modifiedAt, and deletedAt.
      type: object
      properties:
        createdAt: 
          $ref: '#/components/schemas/CreatedAt'
          readOnly: true
        modifiedAt:
          $ref: '#/components/schemas/ModifiedAt'
          readOnly: true
        deletedAt:
          $ref: '#/components/schemas/DeletedAt'
          readOnly: true
    CreatedAt:
      description: |
        It is defined as the temporal Property at which the Entity, Property or
@@ -3744,8 +3728,15 @@ components:
            to limit unnecessary distributed operation requests.
          $ref: '#/components/schemas/RegistrationManagementInfo'
        # Clause 5.2.2 Common members. System-generated temporal attributes.
        systemGeneratedAttrs:
          $ref: '#/components/schemas/SystemGeneratedAttributes'        
        createdAt: 
          $ref: '#/components/schemas/CreatedAt'
          readOnly: true
        modifiedAt:
          $ref: '#/components/schemas/ModifiedAt'
          readOnly: true
        deletedAt:
          $ref: '#/components/schemas/DeletedAt'
          readOnly: true
        status:
          description: |
            Read-only. Status of the Registration. It shall be "ok" if the last attempt to perform a distributed
@@ -3884,8 +3875,15 @@ components:
            See clause 4.7.
          $ref: '#/components/schemas/GeoProperty'
        # Clause 5.2.2 Common members. System-generated temporal attributes.
        systemGeneratedAttrs:
          $ref: '#/components/schemas/SystemGeneratedAttributes'
        createdAt: 
          $ref: '#/components/schemas/CreatedAt'
          readOnly: true
        modifiedAt:
          $ref: '#/components/schemas/ModifiedAt'
          readOnly: true
        deletedAt:
          $ref: '#/components/schemas/DeletedAt'
          readOnly: true
      additionalProperties:
        oneOf:
          - $ref: '#/components/schemas/Property'
@@ -3999,8 +3997,15 @@ components:
            See clause 4.7.
          $ref: '#/components/schemas/GeoProperty'
        # Clause 5.2.2 Common members. System-generated temporal attributes.
        systemGeneratedAttrs:
          $ref: '#/components/schemas/SystemGeneratedAttributes'
        createdAt: 
          $ref: '#/components/schemas/CreatedAt'
          readOnly: true
        modifiedAt:
          $ref: '#/components/schemas/ModifiedAt'
          readOnly: true
        deletedAt:
          $ref: '#/components/schemas/DeletedAt'
          readOnly: true
      additionalProperties:
        oneOf:
          - type: array
@@ -4340,8 +4345,15 @@ components:
          type: string
          format: uri
        # Clause 5.2.2 Common members. System-generated temporal attributes.
        systemGeneratedAttrs:
          $ref: '#/components/schemas/SystemGeneratedAttributes'
        createdAt: 
          $ref: '#/components/schemas/CreatedAt'
          readOnly: true
        modifiedAt:
          $ref: '#/components/schemas/ModifiedAt'
          readOnly: true
        deletedAt:
          $ref: '#/components/schemas/DeletedAt'
          readOnly: true
        instanceId:
          description: |
            A URI uniquely identifying a Property instance,
@@ -4440,8 +4452,15 @@ components:
          type: string
          format: uri
        # Clause 5.2.2 Common members. System-generated temporal attributes.
        systemGeneratedAttrs:
          $ref: '#/components/schemas/SystemGeneratedAttributes'
        createdAt: 
          $ref: '#/components/schemas/CreatedAt'
          readOnly: true
        modifiedAt:
          $ref: '#/components/schemas/ModifiedAt'
          readOnly: true
        deletedAt:
          $ref: '#/components/schemas/DeletedAt'
          readOnly: true
        instanceId:
          description: |
            A URI uniquely identifying a Property instance,
@@ -4775,8 +4794,15 @@ components:
          type: string
          format: uri
        # Clause 5.2.2 Common members. System-generated temporal attributes.
        systemGeneratedAttrs:
          $ref: '#/components/schemas/SystemGeneratedAttributes'
        createdAt: 
          $ref: '#/components/schemas/CreatedAt'
          readOnly: true
        modifiedAt:
          $ref: '#/components/schemas/ModifiedAt'
          readOnly: true
        deletedAt:
          $ref: '#/components/schemas/DeletedAt'
          readOnly: true
        instanceId:
          description: |
            A URI uniquely identifying a Property instance,
@@ -4952,8 +4978,15 @@ components:
          type: string
          format: uri
        # Clause 5.2.2 Common members. System-generated temporal attributes.
        systemGeneratedAttrs:
          $ref: '#/components/schemas/SystemGeneratedAttributes'          
        createdAt: 
          $ref: '#/components/schemas/CreatedAt'
          readOnly: true
        modifiedAt:
          $ref: '#/components/schemas/ModifiedAt'
          readOnly: true
        deletedAt:
          $ref: '#/components/schemas/DeletedAt'
          readOnly: true
        instanceId:
          description: |
            A URI uniquely identifying a Relationship instance
@@ -5071,8 +5104,15 @@ components:
            Language filter to be applied to the query (clause 4.15).
          type: string
        # Clause 5.2.2 Common members. System-generated temporal attributes.
        systemGeneratedAttrs:
          $ref: '#/components/schemas/SystemGeneratedAttributes'        
        createdAt: 
          $ref: '#/components/schemas/CreatedAt'
          readOnly: true
        modifiedAt:
          $ref: '#/components/schemas/ModifiedAt'
          readOnly: true
        deletedAt:
          $ref: '#/components/schemas/DeletedAt'
          readOnly: true       
        status:
          description: |
            Read-only. Provided by the system when querying the details of a subscription.
@@ -5233,8 +5273,15 @@ components:
          type: string
          format: uri
        # Clause 5.2.2 Common members. System-generated temporal attributes.
        systemGeneratedAttrs:
          $ref: '#/components/schemas/SystemGeneratedAttributes'
        createdAt: 
          $ref: '#/components/schemas/CreatedAt'
          readOnly: true
        modifiedAt:
          $ref: '#/components/schemas/ModifiedAt'
          readOnly: true
        deletedAt:
          $ref: '#/components/schemas/DeletedAt'
          readOnly: true
        instanceId:
          description: |
            A URI uniquely identifying a Property instance,