You can create attributes, new schema (class) but you can't edit an existing schema.
Read this doc I think the best way to know how to create the .ldif is take a look in existing schema, but, here an example :
dn: CN=asyd,CN=Schema,CN=Configuration,DC=test,DC=com attributeID: 1.2.841.1.1.1 attributeSyntax: 2.5.5.9 cn: asyd isSingleValued: TRUE lDAPDisplayName: asyd adminDisplayName: asyd searchFlags: 0 objectClass: top objectClass: attributeSchema name: asyd instanceType: 2 oMSyntax: 2 OMObjectClass: +s isMemberOfPartialAttributeSet: TRUE
Note the administrator name depend of your locale.