{"id":15424795,"url":"https://github.com/garethj-msft/odataexamplegen","last_synced_at":"2026-01-19T06:07:14.841Z","repository":{"id":53459969,"uuid":"308539700","full_name":"garethj-msft/ODataExampleGen","owner":"garethj-msft","description":"Generate example JSON packets for OData APIs.","archived":false,"fork":false,"pushed_at":"2021-03-30T08:57:42.000Z","size":581,"stargazers_count":2,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-12T22:49:43.269Z","etag":null,"topics":["example","json","odata"],"latest_commit_sha":null,"homepage":"","language":"C#","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/garethj-msft.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}},"created_at":"2020-10-30T06:03:45.000Z","updated_at":"2023-10-27T08:33:03.000Z","dependencies_parsed_at":"2022-09-09T16:22:31.102Z","dependency_job_id":null,"html_url":"https://github.com/garethj-msft/ODataExampleGen","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garethj-msft%2FODataExampleGen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garethj-msft%2FODataExampleGen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garethj-msft%2FODataExampleGen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garethj-msft%2FODataExampleGen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garethj-msft","download_url":"https://codeload.github.com/garethj-msft/ODataExampleGen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247517919,"owners_count":20951719,"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":["example","json","odata"],"created_at":"2024-10-01T17:48:47.636Z","updated_at":"2026-01-19T06:07:14.828Z","avatar_url":"https://github.com/garethj-msft.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ODataExampleGen\nGenerate example JSON packets for requests or responses for OData APIs.\n\nUsage:\n\n`dotnet ODataExampleGen -c[--csdl] someModel.csdl -u[--uri] \u003csome_path_rooted_at_singleton_or_entitySet\u003e -p[--propertyType] \u003cnavPropName1\u003e:\u003cconcreteTypeNameToUse1\u003e \u003cnavPropName2\u003e:\u003cconcreteTypeNameToUse2\u003e -e[--enumValue] \u003cpropName1\u003e:\u003cenumValue1\u003e \u003cpropName2\u003e:\u003cenumValue2\u003e -r[--primitiveValue] \u003cpropName1\u003e:\u003cpropValue1\u003e \u003cpropName2\u003e:\u003cpropValue2\u003e -b[--baseUri] https://graph.microsoft.com/beta` -d childNavProp\n\nExample output:\n\n```\n{\n  \"id\": \"id1\",\n  \"displayName\": \"A sample displayName\",\n  \"recurrence\": \"hourly\",\n  \"startDateTime\": \"2020-10-30T08:25:00.4673388Z\",\n  \"endDateTime\": \"2020-10-30T08:25:00.4675242Z\",\n  \"type\": \"grades\",\n  \"apiFilter\": {\n    \"@odata.type\": \"#myNamespace.powerSchoolApiFilter\",\n    \"schoolIds\": [\n      \"A sample of schoolIds\",\n      \"Another sample of schoolIds\"\n    ],\n    \"schoolYears\": [\n      \"A sample of schoolYears\",\n      \"Another sample of schoolYears\"\n    ]\n  },\n  \"runs@odata.bind\": [\n    \"https://graph.microsoft.com/beta/external/dataFlowHub/runs/id2\",\n    \"https://graph.microsoft.com/beta/external/dataFlowHub/runs/id3\"\n  ],\n  \"source@odata.bind\": \"https://graph.microsoft.com/beta/external/dataFlowHub/sources/id4\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarethj-msft%2Fodataexamplegen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarethj-msft%2Fodataexamplegen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarethj-msft%2Fodataexamplegen/lists"}