{"id":13849704,"url":"https://github.com/casact/PCDM","last_synced_at":"2025-07-12T21:32:14.147Z","repository":{"id":37676180,"uuid":"275150895","full_name":"casact/PCDM","owner":"casact","description":"Property Casualty Data Model Specification","archived":false,"fork":false,"pushed_at":"2022-06-22T03:35:48.000Z","size":472,"stargazers_count":27,"open_issues_count":1,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-06T12:47:44.876Z","etag":null,"topics":["actuarial","database","insurance","orm","property-casualty","sqlalchemy"],"latest_commit_sha":null,"homepage":"https://genedan.com/pcdm/docs","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/casact.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-26T12:28:41.000Z","updated_at":"2024-02-03T19:55:25.000Z","dependencies_parsed_at":"2022-09-10T06:23:06.112Z","dependency_job_id":null,"html_url":"https://github.com/casact/PCDM","commit_stats":null,"previous_names":["genedan/pcdm"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casact%2FPCDM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casact%2FPCDM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casact%2FPCDM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casact%2FPCDM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casact","download_url":"https://codeload.github.com/casact/PCDM/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225839481,"owners_count":17532305,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actuarial","database","insurance","orm","property-casualty","sqlalchemy"],"created_at":"2024-08-04T20:00:38.510Z","updated_at":"2024-11-22T03:30:17.616Z","avatar_url":"https://github.com/casact.png","language":"Python","funding_links":[],"categories":["Python","P\u0026C-related packages"],"sub_categories":["Experience Analysis"],"readme":"# PCDM\n[![PyPI version](https://badge.fury.io/py/pcdm.svg)](https://badge.fury.io/py/pcdm)\n\nProperty Casualty Data Model\n\nPCDM is a [SQLAlchemy](https://www.sqlalchemy.org/) implementation of [Object Management Group's Property Casualty Data Model](https://www.omg.org/spec/PC/About-PC/). The Property Casualty Data Model is a relational database schema that closely resembles the backend of an insurance company. This package allows you to deploy a SQLite database within seconds for testing, and can be tweaked to support Postgres and other relational database systems.\n\nPCDM contains 256 tables from 13 subject area models (SAMs):\n\n1. Party - all persons, organizations, and groups involved in the insurance agreement\n2. Account and Agreement - customer, insurer, and vendor agreements\n3. Policy - policy information\n4. Claim - claim information\n5. Assessment - information pertaining to assesment (credit scoring, appraisals)\n6. Agreement Role - roles involved in agreements (providers, producers, suppliers)\n7. Claim Role - roles involved in claims (claimaints, adjusters)\n8. Staffing Role - roles involved in staffing (employees and contractors)\n9. Party Subtype - groupings and subgroupings of parties\n10. Insurable Object - things that can be insured (vehicles, structures)\n11. Money - transaction information\n12. Event - event information\n13. Product - product information (line of business, limits, coverage)\n\n![](docs/pcdmcdm.png)\n\n## Distribution\n\nAccording to the [Object Management Group](https://www.omg.org/gettingstarted/overview.htm#Free):\n\n\u003eAnyone can download specifications from the OMG website for free, write software implementations that conform to the specifications, and use them, give them away, or sell them. Neither OMG membership nor license is required for this.\n\n\n## Installation and Deployment\n\nThis repository requires sqlalchemy, so install it if you don't have it:\n\n```\npip3 install sqlalchemy\n```\n\nor\n```\npip3 install -r requirements.txt\n```\n\nThe file deploy_sqlite contains a script that can be used to deploy a SQLite database:\n\n```\ngit clone https://github.com/genedan/PCDM\ncd PCDM\npython3 deploy_sqlite.py\n```\n\n## PyPI\n\nThis package is also available on PyPI:\n\n```\npip3 install pcdm\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasact%2FPCDM","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasact%2FPCDM","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasact%2FPCDM/lists"}