Use Case 6/Code

From Demand-Driven Open Data for HHS
Jump to: navigation, search

JSON format specification for machine readable data dictionary for Use Case 6

"schema": {
  "name": "use_case_6",	
  "fields": [
    {
      "name": "id",
      "title": "Primary Key",
      "type": "integer",
    },
    {
      "name": "pma_id",
      "title": "PMA ID",
      "type": "string",
    },
    {
      "name": "501k_id",
      "title": "501k ID",
      "type": "string",
    },
    {
      "name": "recall_number",
      "title": "Recall Number",
      "type": "string",
    },
    {
      "name": "recall_event_id",
      "title": "Recall Event ID",
      "type": "string",
    },
    {
      "name": "z_number",
      "title": "z-Number",
      "type": "string",
    },
  ],
  "primaryKey": ["id"],
  "foreignKeys": [
    {"fields": "pma_id",  "reference": ""},
    {"fields": "501k_id",  "reference": ""},
  ]
}