AVP Definition  <avp> 

Defines a AVP, which may then later be reference within a dictionary or Grouped AVP.
Reference: RFC 6733
Provides all requirement for the identification/structure of this type of AVP. The name attribute is the unique identifier.

Type:

  avpDefinitionType
ATTRIBUTES
name nameType

CHILD ELEMENTS

Child

Occurrences

Type

Description <description> 0 .. 1 descriptionType
 <reference> 0 .. 1 string
 <ref_url> 0 .. 1 string
AVP Type <type> 1 .. 1 avpContentType
AVP Code <code> 1 .. 1 uint32Type
Mandatory Bit <m_bit> 0 .. 1 avpRequirementType
Protection Bit <p_bit> 0 .. 1 avpRequirementType
Vendor ID <vendor_id> 0 .. 1 uint32Type
Minimum Length <min_length> 0 .. 1 uint24Type
Maximum Length <max_length> 0 .. 1 uint24Type
Minimum Value <min_value> 0 .. 1 string
Maximum Value <max_value> 0 .. 1 string
Value <value> 0 .. 64 avpValueType
AVP Presence <avp> 0 .. * avpPresenceType
Any AVP <any> 0 .. 1 nullType
PARENT ELEMENTS

Parent

Type

AVP Dictionary <avps> avpDictionaryType