- The remove directive criteria item-name MUST match an object if and only if its value is identical to the value of that object's serialized name. For example,
- remove:item-name:prop
has the effect of removing all
- propobjects from inside the control.
+
The remove directive criterion by-item-name MUST match an object if and only if its value is identical to the value of that object's serialized name. For example,
+ remove.by-item-name: "prop"
has the effect of removing all
+ prop objects from inside the control.
- In serialization formats that use arrays of objects in the OSCAL model, an object's name MUST be referenced as singular form of its containing parent array. For example, in the JSON format, remove:item-name:link would remove all of the objects inside of the links array.
+ In serialization formats that represent objects as (unlabelled) members of arrays, an object's name MUST be referenced in its (implicit) singular form, not the name of its containing array. For example, in the JSON format, remove.item-name: "link" would remove all members of the links array, along with the array itself (as being empty it would no longer be valid).