holderdeord/hdo-storting-importer

View on GitHub
lib/hdo/storting_importer/schema/committee_membership.json

Summary

Maintainability
Test Coverage
{
  "id": "hdo#committee_membership",
  "description": "a representative's committee associations for the given dates",
  "type":"object",
  "properties": {
    "kind": {
      "type": "string",
      "description": "This is always 'hdo#committee_membership'",
      "default": "hdo#committee_membership",
      "required": true
    },
    "external_id": {
      "type": "string",
      "description": "An ID uniquely identifying the committee (matching externalId of hdo#committee)",
      "required": true
    },
    "start_date": {
      "type": "string",
      "description": "The date the association started.",
      "format": "date",
      "required": true
    },
    "end_date": {
      "type": "string",
      "description": "The date the association ended. Can be null if the association is current.",
      "format": "date",
      "required": false
    }
}