CybOXProject / schemas

CybOX Schemas and Schema Development
42 stars 17 forks source link

Change datatypes on BaseObjectProperty subtypes #283

Closed gtback closed 10 years ago

gtback commented 10 years ago

Change them from being "fixed" to "default". This allows producers to encode a property in a different type than what is proscribed for that type. For example:

I did not change BaseObjectProperty subtypes where a union of some enum and "string" was used, since these are always meant to be strings, thus "fixed" is appropriate.

Fixes #3, Fixes #112

Implements https://github.com/CybOXProject/schemas/wiki/Proposal%3A-Allow-different-datatypes-on-*ObjectPropertyTypes