resource_definition schema