No need for subresource unless you really really want it.
it would be much easier to use PropertiesAttributeDefinition instead.