1. A method for generating a Data Format Description Language (DFDL) schema, the method comprising: retrieving annotations added to sample data according to an annotation rule; analyzing, automatically by a processor, the annotated sample data; generating, by the processor, a computer readable description of the annotated sample data according to the DFDL specification; creating, using the computer readable description of the annotated sample data, a logic schema and a configuration file according to the annotation rule and the retrieved annotations added to the sample data, wherein the logic schema represents a tree structure of data elements in the sample data, and the configuration file defines computer executable operations for adding DFDL annotations corresponding to the annotations into the logic schema, wherein the configuration file includes a first section and a second section, the first section including code for declaring operations and generation processes, the second section including code for inputting parameters of the operations declared in the first section; generating, automatically by the processor, a DFDL schema corresponding to the sample data according to the logic schema and the configuration file by: loading and parsing the first section of the configuration file; retrieving, based on the parsing of the first section of the configuration file, an operation to be performed from the first section of the configuration file; loading and parsing the second section of the configuration file according to a value of an input attribute in the operation; retrieving, based on the parsing the second section of the configuration file, an input definition of the operation, wherein the input definition of the operation includes a location of an attribute to be added to the DFDL schema, a name of the attribute, and a value of the attribute; loading and parsing the logic schema using the location to determine a definition for an element; and generating the element in the DFDL schema using the definition, wherein the element includes the name of the attribute and the value of the attribute; receiving, by the processor, a stream of data; and converting, automatically by the processor, the stream of data into a DFDL document using the generated DFDL schema.