{"id":16873627,"url":"https://github.com/dfornika/table_salad","last_synced_at":"2026-05-18T00:33:32.855Z","repository":{"id":149831237,"uuid":"258361820","full_name":"dfornika/table_salad","owner":"dfornika","description":"Convert a .csv table to a SALAD schema","archived":false,"fork":false,"pushed_at":"2020-05-07T17:45:27.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-06T07:08:56.846Z","etag":null,"topics":["salad","schema-validation","shex"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dfornika.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-24T00:13:40.000Z","updated_at":"2020-06-16T10:18:20.000Z","dependencies_parsed_at":"2023-04-28T05:34:07.945Z","dependency_job_id":null,"html_url":"https://github.com/dfornika/table_salad","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dfornika/table_salad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfornika%2Ftable_salad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfornika%2Ftable_salad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfornika%2Ftable_salad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfornika%2Ftable_salad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfornika","download_url":"https://codeload.github.com/dfornika/table_salad/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfornika%2Ftable_salad/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33160489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"ssl_error","status_checked_at":"2026-05-17T22:39:10.741Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["salad","schema-validation","shex"],"created_at":"2024-10-13T15:26:23.561Z","updated_at":"2026-05-18T00:33:32.844Z","avatar_url":"https://github.com/dfornika.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Table-\u003eSALAD\n\nConvert a `.csv` table to a [SALAD](https://github.com/common-workflow-language/schema_salad) schema\n\n## Schema Generation\n\n### Input\n\nA `.csv` file with the field headers: `field_name`, `doc`, `type`, `iri`\n\nEg:\n\n|field_name       | doc                                         | type   | iri                                        |\n|-----------------|---------------------------------------------|--------|--------------------------------------------|\n| sample_name     | The user-defined name for the sample.       | string | http://edamontology.org/data_3273          |\n| collection_date | The date on which the sample was collected. | string | http://purl.obolibrary.org/obo/NCIT_C81286 |\n\n(Note that SALAD has a limited set of [primitive types](https://www.commonwl.org/v1.0/SchemaSalad.html#PrimitiveType) available to choose from.)\n\nA `context.json` file with prefixes for any IRIs used in your table:\n\n```json\n{\n  \"edam_data\": \"http://edamontology.org/data_\",\n  \"ncit\": \"http://purl.obolibrary.org/obo/NCIT_\"\n}\n```\n\n(optionally) a name for your schema class (defaults to `SchemaClass` if not provided.\n\n### Usage\n\n```\ntable_salad_schema_gen.py --input schema_table.csv --context context.json --name SampleSchema\n```\n\n```yaml\n$namespaces:\n  ncit: http://purl.obolibrary.org/obo/NCIT_\n  edam_data: http://edamontology.org/data_\n\n$graph:\n- fields:\n    collection_date:\n      doc: The date on which the sample was collected.\n      jsonldPredicate:\n        _id: ncit:C81286\n      type: date\n    sample_name:\n      doc: The user-defined name for the sample.\n      jsonldPredicate:\n        _id: edam_data:3273\n      type: string\n  type: record\n  name: SampleSchema\n  documentRoot: 'true'\n```\n\n## Data Validation\n\n### Input\n\n### Usage\n\n```\ntable_salad_validate.py\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfornika%2Ftable_salad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfornika%2Ftable_salad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfornika%2Ftable_salad/lists"}