def assert_type(self):
    if (self.status is not None):
        for value in self.status:
            if ((value is not None) and (value.lower() not in ['draft', 'active', 'retired', 'unknown'])):
                raise ValueError('"{}" does not match possible values: {}'.format(value, 'draft, active, retired, unknown'))
    if (self.kind is not None):
        for value in self.kind:
            if ((value is not None) and (value.lower() not in ['instance', 'capability', 'requirements'])):
                raise ValueError('"{}" does not match possible values: {}'.format(value, 'instance, capability, requirements'))
    if (self.acceptUnknown is not None):
        for value in self.acceptUnknown:
            if ((value is not None) and (value.lower() not in ['no', 'extensions', 'elements', 'both'])):
                raise ValueError('"{}" does not match possible values: {}'.format(value, 'no, extensions, elements, both'))
def assert_type(self):
    if (self.status is not None):
        for value in self.status:
            if ((value is not None) and (value.lower() not in ['draft', 'active', 'retired', 'unknown'])):
                raise ValueError('"{}" does not match possible values: {}'.format(value, 'draft, active, retired, unknown'))
    if (self.kind is not None):
        for value in self.kind:
            if ((value is not None) and (value.lower() not in ['instance', 'capability', 'requirements'])):
                raise ValueError('"{}" does not match possible values: {}'.format(value, 'instance, capability, requirements'))
    if (self.acceptUnknown is not None):
        for value in self.acceptUnknown:
            if ((value is not None) and (value.lower() not in ['no', 'extensions', 'elements', 'both'])):
                raise ValueError('"{}" does not match possible values: {}'.format(value, 'no, extensions, elements, both'))