title: How can I create a property for a special vertex type in JanusGraph
body: <p>I am trying to add a property for a specific vertex type. Assuming I have <code>person</code> and <code>car</code> vertex types in my graph schema, how can I add the <code>name</code> and <code>birthday</code> properties only to the <code>person</code> vertex?</p>
  
  <p>Example of creating <code>firstName</code> property:</p>
  
  <pre><code>graph.openManagement().makePropertyKey('firstName')
       .dataType‌​(String.class).cardi‌​nality(Cardinality.S‌​INGLE).make();
  </code></pre>
  
  <p>Here I am creating new property of vertex but How can I restrict it to a specific type of vertex?</p>
  
  <p>Thanks in advance.</p>