version: 0.1
base_language: en-us

entities:

  humanity:

    id: ACGEDEACDAECEACDEADCDEACCDEAC # here we want to put our genomes

    title: 
      en: Humanity
      ru: Человечество

    description: 
      en: You are Humanity
      ru: Ты - человечество

    link: humanity

    tile:

        version: 1.0.0
        version_description: Initial version of Humanity

        convention:

          position: 
						Humanity is homeland for anybody and anything in our civilization

          intro:
            en:
              - We are a neutral power subject to Life, Freedom and Justice.
              - We are treating all the jurisdictions accordingly to our values.
            ru:
              - Мы нейтральная сила и нас интересуют ценности Жизни, Свободы и Справедливости.
              - Мы относимся ко всем юрисдикциям исходя из этих ценностей.

          values:

            Life:
              title: 
                en: Life
                ru: Жизнь
              statement:
                en: Our core values are for everyone to be alive, conscious free and in harmony. 

            Freedom:
              title: 
                en: Freedom
                ru: Свобода
              statement: 
                en: Anyone has right to leave any place and create own one
                ru: Каждый имеет право покинуть любую юрисдикцию и создать свою собственную 
                
            Justice:
              title: 
                en: Justice
                ru: Справедливость
              statement: 
                en: Everyone has right for justice based on values and laws of jurisdiction of residency

        roles_spec: 

          _guest: 
            active:
              permissions:
                - page.index 
                - page.human
                - page.jurisdictions
                - page.decentralizers
                - list.human
                - list.jurisdictions
                - list.decentralizers

          _registered:
            active:
              permissions:
                - @_guest.active
                - action.join

          human:
            active:
              permissions:
                - @_guest.active
                - action.createJurisdiction
                - action.leaveJurisdiction

          decentralizer:
            active:
              permissions:
                - @human.active
                - page.settings
                - action.updateHumanity
            yet_another:
              permission:
                - @decentralizer.active
                - action.decentralizeHumanity
            former:
              permissions:
                - @human.active

          jurisdiction:
            active:
              standard: @jur.standard.yml

        profiles:
          human:
            fields:
              first_name: String!
              last_name: String!
              birthday: DateTime!

        actions: @humanity.actions.yml

    web:

        pages:
          
          index: @humanity.pages.index.yml
          settings: @humanity.pages.settings.yml
          human: @this.lists.human
          jurisdictions: @this.lists.jurisdictions
          decentralizers: @this.lists.decentralizers

        menus:

          top_menu:
        
            index:
              title: Humanity
              icon: humanity
              page: index
            human:
              title: Human
              icon: human
              page: human
            jurisdictions:
              title: Jurisdictions
              icon: flag
              page: jurisdictions
            decentralizers:
              title: Decentralizers
              icon: officials
              page: decentralizers

          main_buttons:
              title: Create Jurisdiction
              icon: flag
              
          
        forms:

          createJurisdiction: @humanity.forms.createJur.yml

        lists:

          human:
            title: 
              en: Human
              ru: Люди
            roles: human.active

          jurisdictions:
            title: 
              en: Jurisdictions
              ru: Юрисдикции
            roles: jurisdictions.active
          
          decentralizers:
            title: 
              en: decentralizers
              ru: Децентрализаторы
            roles: decentralizers.active

    roles:

      decentralizer.yet_another:
        - andreypanferov
        - timur.artemev
      
      decentralizer.active:
        - vsradkevich
        - pion
        - glebsovin
        - drugz