[
  {
    "apiName": "Story__c",
    "label": "Story",
    "pluralLabel": "Stories",
    "tableType": "custom_object",
    "category": "jira",
    "sharingModel": "Private",
    "enableHierarchySharing": false,
    "description": "Story work item — child of Epic",
    "fields": [
      {
        "apiName": "Name",
        "label": "Story Name",
        "type": "string",
        "required": true,
        "isNameField": true
      },
      {
        "apiName": "StoryPoints__c",
        "label": "Story Points",
        "type": "number",
        "required": false
      },
      {
        "apiName": "EpicId__c",
        "label": "Epic",
        "type": "lookup",
        "required": false,
        "referenceTo": "Epic__c"
      },
      {
        "apiName": "Status",
        "label": "Status",
        "type": "picklist",
        "options": [
          { "label": "To Do",       "value": "To Do" },
          { "label": "In Progress", "value": "In Progress" },
          { "label": "Done",        "value": "Done" }
        ]
      }
    ]
  }
]
