{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://shapes.penny.coop/household/1.0.0/schema.json",
  "title": "Household",
  "description": "A household alias linked to its reporting participant.",
  "type": "object",
  "properties": {
    "title": {
      "title": "Household alias",
      "type": "string",
      "x-penny": {
        "field": "text"
      }
    },
    "reporter": {
      "title": "Reporting participant",
      "type": "string",
      "description": "A project-local record reference, normally typeName/recordId. The referenced record is not embedded.",
      "x-penny": {
        "field": "reference",
        "to": [
          "participant"
        ]
      }
    }
  },
  "x-penny": {
    "shape": "household",
    "version": "1.0.0",
    "source": "app/src/lib/design/project-model.js",
    "sourceName": "household",
    "kind": "record",
    "plural": "Households",
    "icon": "Users",
    "defaultVisibility": "private",
    "publishable": false,
    "fieldOrder": [
      "title",
      "reporter"
    ],
    "sensitive": true
  }
}
