Commit 38ebadda 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 a9bccf7e
Loading
Loading
Loading
Loading
+108 −40
Original line number Diff line number Diff line
@@ -3792,22 +3792,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
@@ -4167,8 +4151,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
@@ -4307,8 +4298,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'
@@ -4436,8 +4434,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
@@ -4802,8 +4807,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 GeoProperty instance,
@@ -4927,8 +4939,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 LanguageProperty instance,
@@ -5330,8 +5349,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 as 
@@ -5592,8 +5618,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
@@ -5759,8 +5792,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.
@@ -5931,8 +5971,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 VocabProperty instance,
@@ -6009,8 +6056,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 ListProperty instance as 
@@ -6109,8 +6163,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 ListRelationship instance
@@ -6211,8 +6272,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 JsonProperty instance,