================================================================================
BLOB field with various SubType values
================================================================================

table 50100 "Test Table"
{
    fields
    {
        field(1; Icon; BLOB)
        {
            Caption = 'Icon';
            DataClassification = CustomerContent;
            SubType = Bitmap;
        }
        field(2; Data; BLOB)
        {
            SubType = Json;
        }
        field(3; Template; BLOB)
        {
            SubType = UserDefined;
        }
    }
}

--------------------------------------------------------------------------------

(source_file
  (table_declaration
    (table_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (fields_section
      (fields_keyword)
      (field_declaration
        id: (integer)
        name: (identifier)
        type: (type_specification
          (basic_type))
        (property
          name: (property_name)
          value: (string_literal))
        (property
          name: (property_name)
          value: (identifier))
        (property
          name: (property_name)
          value: (identifier)))
      (field_declaration
        id: (integer)
        name: (identifier)
        type: (type_specification
          (basic_type))
        (property
          name: (property_name)
          value: (identifier)))
      (field_declaration
        id: (integer)
        name: (identifier)
        type: (type_specification
          (basic_type))
        (property
          name: (property_name)
          value: (identifier))))))

================================================================================
BLOB SubType case variations
================================================================================

table 50101 "Case Test"
{
    fields
    {
        field(1; "Image 1"; BLOB)
        {
            SubType = bitmap;
        }
        field(2; "Image 2"; BLOB)
        {
            SubType = BITMAP;
        }
        field(3; "Json Data"; BLOB)
        {
            SubType = json;
        }
        field(4; "Json Data 2"; BLOB)
        {
            SubType = JSON;
        }
    }
}

--------------------------------------------------------------------------------

(source_file
  (table_declaration
    (table_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (fields_section
      (fields_keyword)
      (field_declaration
        id: (integer)
        name: (quoted_identifier)
        type: (type_specification
          (basic_type))
        (property
          name: (property_name)
          value: (identifier)))
      (field_declaration
        id: (integer)
        name: (quoted_identifier)
        type: (type_specification
          (basic_type))
        (property
          name: (property_name)
          value: (identifier)))
      (field_declaration
        id: (integer)
        name: (quoted_identifier)
        type: (type_specification
          (basic_type))
        (property
          name: (property_name)
          value: (identifier)))
      (field_declaration
        id: (integer)
        name: (quoted_identifier)
        type: (type_specification
          (basic_type))
        (property
          name: (property_name)
          value: (identifier))))))

================================================================================
SubType with custom identifier values
================================================================================

table 50102 "Custom SubType"
{
    fields
    {
        field(1; "Custom Type"; BLOB)
        {
            SubType = PurchaseHeader;
        }
        field(2; "Another Type"; BLOB)
        {
            SubType = SomeCustomType;
        }
    }
}

--------------------------------------------------------------------------------

(source_file
  (table_declaration
    (table_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (fields_section
      (fields_keyword)
      (field_declaration
        id: (integer)
        name: (quoted_identifier)
        type: (type_specification
          (basic_type))
        (property
          name: (property_name)
          value: (identifier)))
      (field_declaration
        id: (integer)
        name: (quoted_identifier)
        type: (type_specification
          (basic_type))
        (property
          name: (property_name)
          value: (identifier))))))
