Uploaded image for project: 'Technical Advisory Board'
  1. Technical Advisory Board
  2. TAB-1505

2.7 List - definition is confusing - STIX Part 1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: STIX Version 2.0 CSPRD01
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Style

    • Proposal:
      Hide

      A list in STIX contains of one or more values of the same type. The value type for a list is specified by the phrase "list of type <type>."

      Note: STIX objects may define upper or lower bounds for the length of a list.

      Question: Can a STIX object define an empty list? If no, then the note should read:

      Note: STIX objects may define upper or lower bounds for the length of a list, but a list in STIX has at least one value.

      Show
      A list in STIX contains of one or more values of the same type. The value type for a list is specified by the phrase "list of type <type>." Note: STIX objects may define upper or lower bounds for the length of a list. Question: Can a STIX object define an empty list? If no, then the note should read: Note: STIX objects may define upper or lower bounds for the length of a list, but a list in STIX has at least one value.

      Description

      2.7 List reads in part:

      *****
      The list type defines a sequence of values ordered based on how they appear in the list. The phrasing “list of type <type>” is used to indicate that all values within the list MUST conform to the specified type. For instance, list of type integer means that all values of the list must be of the integer type. This specification does not specify the maximum number of allowed values in a list, however every instance of a list MUST have at least one value. Specific STIX object properties may define more restrictive upper and/or lower bounds for the length of the list.
      *****

      The "The list type defines a sequence of values ordered based on how they appear in the list." implies that the list type defines a sort order for the values in a list. Does it? If not, need to drop that.

      I would drop the MUST statements as well. See the proposal for one suggestion.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              patrick Patrick Durusau
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: