[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [csaf] [CSAF JSON Schema] limits to field lengths
Eric –
Lower limit -> It depends on the property. 0 (empty string without null) may be a good lower limit. For example, a string property where the value is unassigned may be set to empty string.
Upper limit -> In most cases STIX2 avoided setting an upper limit at all. For certain string enumeration properties the upper limit was set to a reasonably high value for what could be expected in that enumeration. (e.g. 256)
Allan
From: <csaf@lists.oasis-open.org> on behalf of Eric Johnson <eric@tibco.com>
Date: Monday, May 7, 2018 at 5:53 PM
To: "csaf@lists.oasis-open.org" <csaf@lists.oasis-open.org>
Subject: [csaf] [CSAF JSON Schema] limits to field lengths
The lower limit I put in the JSON schema (for just about everything), is simply a non-empty string - 1 or more characters.
Is that the right lower limit?
What's the upper limit?
Eric.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]