package us.nineworlds.iadata;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

import us.nineworlds.iadata.command.CommandCards;

public class IASpec {

	@JsonProperty(required=true, value="iaspecversion")
	private String version;
	
	@JsonProperty(required=true, value="army")
	private Army army;
	
	@JsonProperty(required=true, value="commandCards")
	List<CommandCards> commandCards;

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public Army getArmy() {
		return army;
	}

	public void setArmy(Army army) {
		this.army = army;
	}

	public List<CommandCards> getCommandCards() {
		return commandCards;
	}

	public void setCards(List<CommandCards> commandCards) {
		this.commandCards = commandCards;
	}
	
	
}

@@ -101,16 +101,81 @@
 roperty;
+%0Aimport com.fasterxml.jackson.annotation.JsonPropertyDescription;
 %0A%0Aimport
@@ -300,149 +300,544 @@
 %22)%0A%09
-private String version;%0A%09%0A%09@JsonProperty(required=true, value=%22army%22)%0A%09private Army army;%0A%09%0A%09@JsonProperty(required=true, value=%22commandCards
+@JsonPropertyDescription(%22The versions number of the specification implemented. Currently this is 0.5.0.  This is a required field.%22)%0A%09private String version;%0A%09%0A%09@JsonProperty(required=true, value=%22army%22)%0A%09@JsonPropertyDescription(%22An army contains a deployments group, which contains a list of deployment cards. This is a required field%22)%0A%09private Army army;%0A%09%0A%09@JsonProperty(required=true, value=%22commandCards%22)%0A%09@JsonPropertyDescription(%22A list of command cards for the army described in this specification. This is a required field.
 %22)%0A%09
@@ -1270,10 +1270,6 @@
 %0A%09%7D%0A
-%09%0A%09%0A
 %7D%0A

Add Descriptions to fields