tool lit {
    label "lit";
    brief "lit is an ope source planning tool for small projects";
    text md/lit.md;
}

artefact litData {
    label "Lit planning data";
    brief "the planning datea for all single working package";
    contains
        workPackage;
}

artefact workPackage {
    label "work package";
    brief "An organisatoric artefact that defines a certain ammound of work, the due date and an estimated effort.";
}

activity projectManagement { 
    label "Project Management"; 
    brief "The purpose of the Project Management Process is to identify, establish, and control the activities and resources necessary for a project to produce a product, in the context of the project's requirements and constraints."; 
    specialize 
        spice_MAN3;
    subactivities 
        createProjectPlan,
        planWorkPackages;
}    

activity createProjectPlan {
    label "create project plan";
    create 
        projectPlan;
    subactivities 
        createScopeOfWorkDefinitien,
        createProjectLifeCycleDefinition,
        createResourcePlan,
        pp_doBaseline,
        pp_schedule,
        pp_close;
    text 
        md/spice/ProjectPlan.md,
        md/spice/Plan.md,
        md/simpleSPICE/markdown.md;
}

namespace pp {
    include resources/processes/simpleSPICE/baseline.txt(
        "project plan",
        projectPlan,
        spice_SUP8BP6
    );
    
    include resources/processes/simpleSPICE/review.txt(
        projectPlan,
        "project plan",
        baseline 
    );
}

extend activity pp_schedule {
    specialize 
        spice_MAN3BP3;
}

activity createScopeOfWorkDefinitien  {
    label "create scope of work definition";
    brief "Define the scope of work. Identify the project's goals, motivation and boundaries.";
    create 
        scopeOfWorkDefinition;
    specialize 
        spice_MAN3BP1;
     text 
        md/simpleSPICE/markdown.md;
}

activity createResourcePlan  {
    label "create resource plan";
    brief "Define the recources. This includes resources to accomplish plan objectives.";
    create 
        resourcePlan;
    text 
        md/resourcePlan.md,
        md/createResourcePlan.md,
        md/simpleSPICE/markdown.md;
}

activity createProjectLifeCycleDefinition  {
    label "create project life cycle definition";
    brief "Define project life cycle. Define the life cycle for the project, which is appropriate to the scope, context, magnitude and complexity of the project.";
    create 
        projectLifeCycleDefinition;
    specialize 
        spice_MAN3BP2;
     text 
        md/simpleSPICE/markdown.md;
}


artefact projectPlan {
    label "Project plan";
    brief "08-12 Project plan";
    contains
        resourcePlan,
        scopeOfWorkDefinition,
        projectLifeCycleDefinition;
    text 
        md/spice/ProjectPlan.md,
        md/spice/Plan.md,
        md/simpleSPICE/markdown.md;
}

artefact resourcePlan {
    label "resource plan";
    brief "The resource plan includes resources to accomplish plan objectives";
    text 
        md/resourcePlan.md,
        md/simpleSPICE/markdown.md;
}

artefact scopeOfWorkDefinition {
    label "scope of work definition";
    brief "The scope of the work for the project is defined.";
     text 
        md/simpleSPICE/markdown.md;
}

artefact projectLifeCycleDefinition {
    label "project life cycle definition";
    brief "Define the life cycle for the project, which is appropriate to the scope, context, magnitude and complexity of the project.";
     text 
        md/simpleSPICE/markdown.md;
}

activity planWorkPackages {
    label "plan work packages";
    brief "plan and control each work package and create a time planning.";
    tool lit;
    create litData;
    specialize 
        spice_MAN3BP4;
    subactivities
        sr_planning;
}