/**
 * Data model pour les Annency (acteurs)
 */
export default class EcrymeAnnencyDataModel extends foundry.abstract.TypeDataModel {
  static defineSchema() {
    const fields = foundry.data.fields;
    
    return {
      base: new fields.SchemaField({
        iscollective: new fields.BooleanField({ initial: false }),
        ismultiple: new fields.BooleanField({ initial: false }),
        characters: new fields.ArrayField(new fields.StringField(), { initial: [] }),
        location: new fields.SchemaField({
          "1": new fields.StringField({ initial: "" }),
          "2": new fields.StringField({ initial: "" }),
          "3": new fields.StringField({ initial: "" }),
          "4": new fields.StringField({ initial: "" }),
          "5": new fields.StringField({ initial: "" })
        }),
        description: new fields.HTMLField({ initial: "" }),
        enhancements: new fields.StringField({ initial: "" })
      }),
      
      boheme: new fields.SchemaField({
        name: new fields.StringField({ initial: "" }),
        ideals: new fields.StringField({ initial: "" }),
        politic: new fields.StringField({ initial: "" }),
        description: new fields.HTMLField({ initial: "" })
      })
    };
  }
}
