XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: cs01
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Resolution:
      Hide

      Fixed in csprd05

      Show
      Fixed in csprd05

      Description

      Received thru the DSS-X public comments list from Neil Crossley on the 2019-08-23:

       

      The JSON schema and Swagger schema are consistent in their modelling of date-time:
      Swagger:
      https://swagger.io/docs/specification/data-models/data-types/#string
      JSON schema draft 4 validation:
      https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-7.3.1
      JSON schema latest validation:
      https://json-schema.org/latest/json-schema-validation.html#rfc.section.7.3.1

       

      That is, time is represented as a string with a specific format. The JSON schema declaration looks like this:
      type: 'string'
      format: 'date-time'

      Instead, dss-core consistently employs the following:
      type: 'number'
      format: 'utc-millisec'

      The use of number instead of string does not conform to the standard. While a lossless transformation is possible, I would like to point out that this is a custom, non-standard declaration that may not always be supported by the employable tools.

        Attachments

          Activity

            People

            • Assignee:
              kuehne Andreas Kuehne
              Reporter:
              kuehne Andreas Kuehne
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: