{"id":26190615,"url":"https://github.com/aep/yema","last_synced_at":"2025-07-15T19:43:20.336Z","repository":{"id":280278019,"uuid":"941493798","full_name":"aep/yema","owner":"aep","description":"the universal type generator","archived":false,"fork":false,"pushed_at":"2025-03-11T11:17:40.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-15T07:15:03.161Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/aep.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":"2025-03-02T12:33:46.000Z","updated_at":"2025-03-11T11:17:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a4a0a89-1c92-461e-b93e-b442a9a017b0","html_url":"https://github.com/aep/yema","commit_stats":null,"previous_names":["aep/yema"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aep/yema","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aep%2Fyema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aep%2Fyema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aep%2Fyema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aep%2Fyema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aep","download_url":"https://codeload.github.com/aep/yema/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aep%2Fyema/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265455857,"owners_count":23768641,"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":[],"created_at":"2025-03-12T00:54:32.560Z","updated_at":"2025-07-15T19:43:20.286Z","avatar_url":"https://github.com/aep.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"YEMA - the interchangeable schema language\n------------------------------------------\n\nyema is an extremly simple and obvious schema definition.\nthis is currently used in apogy and its unclear if its going to be made useful for other purposes.\n\nits only purpose is to generate type bindings for all programming languages,\nit does intentionally NOT support constraints like jsonschema.\nit also does not define any wire format, although you'd probably want json, msgpack, etc..\n\nyema can be defined in yaml or json or whatever else.\nhere's a weird yaml to showcase all of it:\n\n```yaml\nfirstName:        string\nmiddleName?:      string\nlastName:         string\nage:              int32\nfavoriteNums?:    [int]\nphones:           [string]\naddresses: [{\n  street:     string,\n  city:       string,\n  zipCode:    string\n}]\nfavoriteObjects:\n  - color: string\n    shape?: int\nsettings: \n  notifications:  bool\n  theme:          string\n  limits?: \n    max:          int64\n```\n\n\nyou can use it as cli to generate types:\n\n    go install github.com/aep/yema/cmd/yema@latest\n\n    yema example.yaml -o cue\n    yema example.yaml -o jsonschema\n    yema example.yaml -o golang\n    yema example.yaml -o rust\n    yema example.yaml -o typescript\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faep%2Fyema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faep%2Fyema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faep%2Fyema/lists"}