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; creating 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; and generating a DFDL schema corresponding to the sample data according to the logic schema and the configuration file.