{
  "$schema": "http://json-schema.org/schema",
  "id": "architecture.core.entity",
  "title": "Architecture Entity Schematic",
  "type": "object",
  "description": "Creates a new, generic entity definition in the current project.",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the entity.",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What should this entity be named?"
    },
    "fields": {
      "type": "string",
      "description": "The fields of the entity.",
      "$default": {
        "$source": "argv",
        "index": 1
      },
      "x-prompt": "What fields should this entity contain?"
    },
    "types": {
      "type": "string",
      "description": "The types of the fields of the entity.",
      "$default": {
        "$source": "argv",
        "index": 2
      },
      "x-prompt": "What types should the fields of this entity be?"
    }
  },
  "required": [
    "name",
    "fields",
    "types"
  ]
}
